package com.lzy.product.dtos;

import java.io.Serializable;

/**
 * Created by WIN7 on 2017/12/2.
 */
public class ProductImageTextDto implements Serializable{
    private static final long serialVersionUID = 4046642864036281486L;
    /**
     * 图文详情编号
     */
    private Long id;

    /**
     * 产品编号
     */
    private Long productId;

    /**
     * 文本描述 或者 图片路径 （取决于 type 值）
     */
    private String path;

    /**
     * 顺序
     */
    private Integer sort;

    /**
     * type :[ 1：文字，2：图片，3:视频，4:语音，5：GIF，6:百度云的url，7:Title加粗，8:外部链接]
     */
    private Integer type;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private Integer status;

    private String createTime;

    private String updateTime;

    private Boolean deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}
